<div class="portlet">
    <div class="portlet-title">
        <div class="caption"><i class="icon-list-alt"></i>Cantidades</div>
        <div class="tools">
            <a href="javascript:;" class="collapse"></a>           
        </div>
    </div>
    <div class="portlet-body">
        <div class="table-responsive">
            <table class="table table-striped table-bordered table-advance table-hover">
                <thead>
                    <tr>
                        <th><i class="icon-briefcase"></i> Almacen</th>                        
                        <th><i class="icon-shopping-cart"></i> Total</th>                        
                    </tr>
                </thead>
                <tbody>
                    <?php foreach ($movimientos as $m): ?>
                        <tr>
                            <td class="highlight">
                                <?php $total = $m['Movimiento']['total']; ?>
                                <?php if ($total <= 10): ?>                                    
                                    <div class="important"></div>
                                <?php else: ?>
                                    <div class="success"></div>
                                <?php endif; ?>
                                <a href="#"><?php echo $m['Almacene']['nombre'] ?></a>
                            </td>                        
                            <td><?php echo $m['Movimiento']['total']; ?></td>                        
                        </tr>
                    <?php endforeach; ?>                                        
                </tbody>
            </table>
            <?php //debug($movimientos); ?>
            <?php //echo $this->Form->hidden('precio_venta', array('value'=>)); ?>
        </div>
    </div>
</div>
